<%@ page language="java" contentType="text/html;charset=UTF-8"%>

<!-- 用户组关联用户-->
<el-dialog :title="editDiag.title"  :visible.sync="editDiag.show" @close="onCloseDictTypeDiag" top="5%" :close-on-click-modal="false">
  <el-form :model="editDiag.form" :rules="editDiag.rules" ref="dictTypeDialogForm" onsubmit="return false;">
	  <el-row>
	      <el-row>
	        <el-col :md="11">
	            <el-form-item label="编码：" :label-width="formLabelWidth" :prop="editDiag.codeProp" placeholder="请输入字典编码">
			      <el-input v-model="editDiag.form.code" auto-complete="off" :disabled="editDiag.codeDisable" ></el-input>
			    </el-form-item>
	        </el-col>
	        <el-col :md="11">
	            <el-form-item label="名称：" :label-width="formLabelWidth" prop="name" placeholder="请输入字典名称">
			      <el-input v-model="editDiag.form.name" auto-complete="off"></el-input>
			    </el-form-item>
	        </el-col>
	    </el-row>
	  </el-row>
  </el-form>
  <div slot="footer" class="dialog-footer">
    <el-button @click="editDiag.show= false">取 消</el-button>
    <el-button type="primary" @click="saveDictType">确 定</el-button>
  </div>
</el-dialog>